package com.scpii.api.persistence.auth;

import org.apache.ibatis.annotations.Param;

import com.scpii.api.domain.auth.UserInfoLinks;

public interface UserInfoLinksMapper {
	int deleteByPrimaryKey(Long id);

	int insert(UserInfoLinks record);

	int insertSelective(UserInfoLinks record);

	UserInfoLinks selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(UserInfoLinks record);

	int updateByPrimaryKeyWithBLOBs(UserInfoLinks record);

	int updateByPrimaryKey(UserInfoLinks record);

	UserInfoLinks selectBySelective(UserInfoLinks record);

	/**
	 * @param appId
	 * @param userName
	 * @param loginType
	 * @return
	 */
	UserInfoLinks loadUserInfoLinksByLoginNameAndLoginType(
			@Param("appId") Long appId, @Param("loginName") String loginName,
			@Param("loginType") String loginType);
}